package com.xiaoluyy.demo.common.exception;

public class RequiredParmeterException extends DemoException {

    public RequiredParmeterException(int exceptionCode, String exceptionMessage){
        super(exceptionCode, exceptionMessage);
    }

    public RequiredParmeterException(String exceptionMessage) {
        super(ExceptionCode.RequiredParamNotFound, exceptionMessage);
    }

    @Override
    public String toString() {
        return "RequiredParmeterException{" +
                "exceptionCode=" + exceptionCode +
                ", exceptionMessage='" + exceptionMessage + '\'' +
                '}';
    }
}
